$(document).ready(function(){
	$("#frmReport").validate({
		errorClass		: "errorMessage",
		errorElement	: "span",
		onfocusout		: false,
		onkeyup			: false,
		rules: {
			pcheck:{
				checkRequired	: true
			}
		},
		messages: {			
			pcheck:{
				checkRequired	: report_checked
			}
		},
		errorPlacement: function(label, element) {
			var id = element.attr("id");	
			label.insertAfter($("#" + id));			
			
		},
		submitHandler: function(form) {							
			form.submit();
		}			 
	});	
	$.validator.addMethod('checkRequired',function(){
		var intLength = $('input[name="pcate[]"]:checked').length;	
		if(intLength == 0) 
			return false;
		return true;
	});
});